package com.shiguiwu.springmybatis.designpattern.abstractfactory.scene.factory;

import java.util.concurrent.TimeUnit;

/**
 * @description: 适配器接口
 * @author: stone
 * @date: Created by 2021/8/12 23:23
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.abstractfactory.scene.factory
 */
public interface ICacheAdapter {
    public void set(String key, String value);

    public void set(String key, String value, long time, TimeUnit timeUnit);

    public String get(String key);

    public void del(String key);
}
